wayland: The xdg_surface.delete event was renamed to close
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 17 Apr 2014 17:14:44 +0000 (13:14 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 17 Apr 2014 17:14:44 +0000 (13:14 -0400)
gdk/wayland/gdkwindow-wayland.c
gdk/wayland/protocol/xdg-shell.xml

index 0f7e9e1af0b0c4cefe82200d34649c3107b05c67..6314b450ad9cae20cb74a6eb9f42f8706be334a6 100644 (file)
@@ -860,8 +860,8 @@ xdg_surface_deactivated (void *data,
 }
 
 static void
-xdg_surface_delete (void *data,
-                    struct xdg_surface *xdg_surface)
+xdg_surface_close (void *data,
+                   struct xdg_surface *xdg_surface)
 {
   GdkWindow *window = GDK_WINDOW (data);
   GdkDisplay *display;
@@ -882,7 +882,7 @@ static const struct xdg_surface_listener xdg_surface_listener = {
   xdg_surface_change_state,
   xdg_surface_activated,
   xdg_surface_deactivated,
-  xdg_surface_delete,
+  xdg_surface_close,
 };
 
 static void
index bc979b33024c110fa2e1e38c8a51932d83722ef4..78826934750b3eab9fc341a8547b63b276f0b230 100644 (file)
       </description>
     </event>
 
-    <event name="delete">
+    <event name="close">
       <description summary="surface wants to be closed">
-        The delete event is sent by the compositor when the user
+        The close event is sent by the compositor when the user
         wants the surface to be closed. This should be equivalent to
         the user clicking the close button in client-side decorations,
         if your application has any...